package com.wonder.app.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:TODO(生产补料详细实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_return_detail")
@ApiModel(value="t_prd_return_detail\"对象", description="生产退料单详细")
public class PrdReturnDetail extends Model<PrdReturnDetail> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;


    @TableField(value = "FBILLNO")
    @ApiModelProperty(name = "FBILLNO" , value = "单据编号")
    private String FBILLNO;

    @TableField(value = "FMATERIALNUMBER")
    @ApiModelProperty(name = "FMATERIALNUMBER" , value = "物料编码")
    private String FMATERIALNUMBER;

    @TableField(value = "FMATERIALNAME")
    @ApiModelProperty(name = "FMATERIALNAME" , value = "物料名称")
    private String FMATERIALNAME;

    @TableField(value = "FSPECIFICATION")
    @ApiModelProperty(name = "FSPECIFICATION" , value = "规格型号")
    private String FSPECIFICATION;

    @TableField(value = "FUNITID")
    @ApiModelProperty(name = "FUNITID" , value = "单位编码")
    private String FUNITID;

    @TableField(value = "FUNITNAME")
    @ApiModelProperty(name = "FUNITNAME" , value = "单位名称")
    private String FUNITNAME;


    @TableField(value = "FACTQTY")
    @ApiModelProperty(name = "FACTQTY" , value = "实退数量")
    private Double FACTQTY;

    @TableField(value = "FAPPQTY")
    @ApiModelProperty(name = "FAPPQTY" , value = "申请数量")
    private Double FAPPQTY;

    @TableField(value = "FSTOCKNUMBER")
    @ApiModelProperty(name = "FSTOCKNUMBER" , value = "仓库编码")
    private String FSTOCKNUMBER;

    @TableField(value = "FSTOCKNAME")
    @ApiModelProperty(name = "FSTOCKNAME" , value = "仓库名称")
    private String FSTOCKNAME;

    @TableField(value = "FLOCATIONNUMBER")
    @ApiModelProperty(name = "FLOCATIONNUMBER" , value = "仓位编码")
    private String FLOCATIONNUMBER;

    @TableField(value = "FLOCATIONNAME")
    @ApiModelProperty(name = "FLOCATIONNAME" , value = "仓位名称")
    private String FLOCATIONNAME;

    @TableField(value = "FCONNPPBOM")
    @ApiModelProperty(name = "FCONNPPBOM" , value = "用料清单关联行")
    private Long FCONNPPBOM;

    @TableField(value = "FLOT")
    @ApiModelProperty(name = "FLOT" , value = "批号")
    private String FLOT;



    @TableField(value = "USERID")
    @ApiModelProperty(name = "USERID" , value = "创建人id")
    private Long USERID;

    @TableField(value = "TEMP")
    @ApiModelProperty(name = "TEMP" , value = "是否是临时数据")
    private Boolean TEMP;

    @TableField(value = "MOBILLNO")
    @ApiModelProperty(name = "MOBILLNO" , value = "生产订单号")
    private String MOBILLNO;

    @TableField(value = "CREATETIME")
    @ApiModelProperty(name = "CREATETIME" , value = "创建时间")
    private Date CREATETIME;

}
